package com.ea.admin;

import com.ea.common.SA.SAFeign;
import com.ea.common.auth.AdminFeign;
import com.ea.common.gateway.GatewayFeign;
import com.ea.common.report.ReportFeign;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = "com.ea")
@EnableFeignClients(basePackageClasses = {AdminFeign.class, ReportFeign.class, GatewayFeign.class, SAFeign.class})
public class AdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class,args);
    }
}
